package cn.et;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;
//发送到注册中心
@EnableDiscoveryClient
@SpringBootApplication
//启用feign的客户端
@EnableFeignClients
public class Main {
	
	 
	public static void main(String[] args) {
		SpringApplication.run(Main.class, args);
	}
}
